-
Notifications
You must be signed in to change notification settings - Fork 1
Chore/restart #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore/restart #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 19 out of 20 changed files in this pull request and generated 1 comment.
Files not reviewed (1)
- package.json: Language not supported
Comments suppressed due to low confidence (1)
src/generateChangelog.ts:3
- There is an inconsistency in the import path for extractTodosFromDir compared to tests that now import it from '../src/parser/extractTodosFromDir'. Verify and update the import path so the module location is consistent across the project.
import { extractTodosFromDir } from './core/extractTodosFromDir';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates import paths to reflect the new "src" directory structure and introduces new features for classifying TODOs and generating changelogs. Additionally, it upgrades workflow actions and adds new mocks and tests to support the added functionalities.
- Updated import paths in tests and core modules.
- Added semantic classification for TODOs with a new classifier and labelsFromTodo function.
- Upgraded GitHub workflow actions and incorporated changelog generation steps.
Reviewed Changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/labelManager.test.ts | Updated import path and added a custom beforeEach function. |
| tests/issueManager.test.ts | Updated import paths and introduced a new mock for labelsFromTodo. |
| tests/extractTodosFromDir.test.ts | Updated import path. |
| tests/extractTodosFromContent.test.ts | Updated import path. |
| tests/extractTodos.test.ts | Updated import paths. |
| tests/commentPatterns.test.ts | Updated import path. |
| tests/classifier.test.ts | Added tests to validate the new classifier functionality. |
| tests/applyTemplate.test.ts | Updated import path. |
| src/core/labelManager.ts | Integrated a new semantic labeling function and updated label definitions. |
| src/core/issueManager.ts | Refactored to use the new labelsFromTodo for issue labeling. |
| src/core/classifier.ts | Introduced a new function to classify TODO texts into semantic labels. |
| src/core/changelog.ts | Added changelog generation logic and file writing for CHANGELOG.md. |
| scripts/generateChangelog.ts | Introduced a script to generate a changelog from TODOs. |
| CHANGELOG.md | Added an auto-generated changelog file. |
| .github/workflows/todo.yml | Upgraded actions versions and updated steps to generate and commit both TODO report and changelog. |
| .github/workflows/run_tests.yml | Minor spacing update in test workflow configuration. |
Files not reviewed (1)
- package.json: Language not supported
No description provided.